<?php


namespace app\lunwen\controller;


use app\lunwen\model\TeacherUploadFileModel;
use cmf\controller\HomeBaseController;

class TeacherCheckStatusController extends HomeBaseController
{
    public function index(){
        $file = new TeacherUploadFileModel();
        $data = $file->where("teacher_id",session("teacher_id"))
            ->whereTime('create_time','>',session('beforeYear'))
            ->whereTime('create_time','<',session('afterYear'))

            ->all();
        $this->assign('file',$data);
        return $this->fetch(':teacherCheckStatus');
    }
}